home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tech Arsenal 1
/
Tech Arsenal (Arsenal Computer).ISO
/
tek-04
/
adatimer.zip
/
TIMEL7.TXT
< prev
Wrap
Text File
|
1990-12-19
|
613b
|
31 lines
-- Listing 7. The output from Listing 6.
Slow Polled Timer Demo
Starting 2 second timer.
<note: 2 seconds go by before the next line.>
Timer has expired.
Reading the timer on the fly.
0.55 seconds used.
1.45 seconds left.
1.59 seconds used.
0.41 seconds left.
Reading the timer when stopped.
2 second timer started.
Stopped after 1/2 second.
0.55 seconds used.
1.45 seconds left.
1 second later.
0.55 seconds used.
1.45 seconds left.
Let it run another 0.2 seconds.
0.77 seconds used.
1.23 seconds left.
Watching 1 second timer for 5 seconds.
Tick
Tick
Tick
Tick
Tick
Done.